package org.example.demo3.enity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor

@TableName("message")
public class message {
    @TableId(type = IdType.AUTO)
    private int id;

    private int pid;

    private int uid;

    private String name;

    private String text;

    private String photo;

    private String photouser;

    private int count;

}
